﻿using OMG.Fill.Potato.Model.Ent;
using ProjectShare;
using System;
using System.Collections.Generic;

namespace OMG.Fill.Potato.Model
{
    /// <summary>
    /// 马铃薯全年生产情况统计表查询条件
    /// </summary>
    public class PotYearProductQuery : SearchBase
    {
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string Id{ get;set;}
        /// <summary>
        /// 报表编号
        /// </summary>
        public string ReportId{ get;set;}
        /// <summary>
        /// 品种
        /// </summary>
        public string Pvariety { get; set; }
        /// <summary>
        /// 全年合计面积
        /// </summary>
        public decimal? YArea{ get;set;}
        /// <summary>
        /// 全年平均亩产
        /// </summary>
        public decimal? YAvgMuYield{ get;set;}
        /// <summary>
        /// 全年产量
        /// </summary>
        public decimal? YYield{ get;set;}
        /// <summary>
        /// 全年总产值
        /// </summary>
        public decimal? YOutput{ get;set;}
        /// <summary>
        /// 大春作面积
        /// </summary>
        public decimal? SArea{ get;set;}
        /// <summary>
        /// 大春作平均亩产
        /// </summary>
        public decimal? SAvgMuYield{ get;set;}
        /// <summary>
        /// 大春作产量
        /// </summary>
        public decimal? SYield{ get;set;}
        /// <summary>
        /// 大春作总产值
        /// </summary>
        public decimal? SOutput{ get;set;}
        /// <summary>
        /// 秋作面积
        /// </summary>
        public decimal? AArea{ get;set;}
        /// <summary>
        /// 秋作平均亩产
        /// </summary>
        public decimal? AAvgMuYield{ get;set;}
        /// <summary>
        /// 秋作产量
        /// </summary>
        public decimal? AYield{ get;set;}
        /// <summary>
        /// 秋作总产值
        /// </summary>
        public decimal? AOutput{ get;set;}
        /// <summary>
        /// 冬作面积
        /// </summary>
        public decimal? WArea{ get;set;}
        /// <summary>
        /// 冬作平均亩产
        /// </summary>
        public decimal? WAvgMuYield{ get;set;}
        /// <summary>
        /// 冬作产量
        /// </summary>
        public decimal? WYield{ get;set;}
        /// <summary>
        /// 冬作总产值
        /// </summary>
        public decimal? WOutput{ get;set;}
    }
    public class YearProductFillModel
    {
        /// <summary>
        /// 本年数据
        /// </summary>
        public PotYearProductEntity DataModel { get; set; }
        /// <summary>
        /// 上年数据
        /// </summary>
        public PotYearProductEntity OldDataModel { get; set; }
        /// <summary>
        /// 报表id
        /// </summary>
        public string ReportId { get; set; }
        /// <summary>
        /// 报表状态
        /// </summary>
        public string ReportStatus { get; set; }
    }
    public class YearProductStatisModel
    {
        /// <summary>
        /// 地区名称
        /// </summary>
        public string AreaName { get; set; }
        /// <summary>
        /// 地区编号
        /// </summary>
        public string AreaCode { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string Pvariety { get; set; }
        /// <summary>
        /// 全年合计面积
        /// </summary>
        public decimal? YArea { get; set; }
        /// <summary>
        /// 全年平均亩产
        /// </summary>
        public decimal? YAvgMuYield { get; set; }
        /// <summary>
        /// 全年产量
        /// </summary>
        public decimal? YYield { get; set; }
        /// <summary>
        /// 全年总产值
        /// </summary>
        public decimal? YOutput { get; set; }
        /// <summary>
        /// 大春作面积
        /// </summary>
        public decimal? SArea { get; set; }
        /// <summary>
        /// 大春作平均亩产
        /// </summary>
        public decimal? SAvgMuYield { get; set; }
        /// <summary>
        /// 大春作产量
        /// </summary>
        public decimal? SYield { get; set; }
        /// <summary>
        /// 大春作总产值
        /// </summary>
        public decimal? SOutput { get; set; }
        /// <summary>
        /// 秋作面积
        /// </summary>
        public decimal? AArea { get; set; }
        /// <summary>
        /// 秋作平均亩产
        /// </summary>
        public decimal? AAvgMuYield { get; set; }
        /// <summary>
        /// 秋作产量
        /// </summary>
        public decimal? AYield { get; set; }
        /// <summary>
        /// 秋作总产值
        /// </summary>
        public decimal? AOutput { get; set; }
        /// <summary>
        /// 冬作面积
        /// </summary>
        public decimal? WArea { get; set; }
        /// <summary>
        /// 冬作平均亩产
        /// </summary>
        public decimal? WAvgMuYield { get; set; }
        /// <summary>
        /// 冬作产量
        /// </summary>
        public decimal? WYield { get; set; }
        /// <summary>
        /// 冬作总产值
        /// </summary>
        public decimal? WOutput { get; set; }
        /// <summary>
        /// 标记（区县级1，州市级2)
        /// </summary>
        public int tag { get; set; }
    }
    
}
